package com.kekezu.kppw.dataprocess;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

import android.content.Context;
import com.kekezu.kppw.data.AuthData;

public class AuthDP {
	/**
	 * 实名认证
	 * 
	 * @param strName
	 *            名字
	 * @param strNumber
	 *            身份证
	 * @param strFrontSide
	 *            身份证正面
	 * @param strBackDside
	 *            身份证反面
	 * @param strValidation
	 *            手持身份证
	 * @param strType
	 * @param context
	 */
	public static String[] realNameAuth(String strName, String strNumber,
			String strFrontSide, String strBackDside, String strValidation,
			String strType, Context context) {
		return AuthData.realNameAuth(strName, strNumber, strFrontSide,
				strBackDside, strValidation, strType, context);
	}

	/**
	 * 实名认证状态
	 * 
	 * @param context
	 * @return
	 */
	public static Map<String, String> realnameAuthInfo(Context context) {
		return AuthData.realnameAuthInfo(context);
	}

	/**
	 * 添加支付宝账号
	 * 
	 * @param strName
	 *            名字
	 * @param strAccount
	 *            账号
	 * @param strConfirmAccount
	 *            确认账号
	 * @param context
	 */
	public static String[] addAlipay(String strName, String strAccount,
			String strConfirmAccount, Context context) {
		return AuthData.addAlipay(strName, strAccount, strConfirmAccount,
				context);
	}

	/**
	 * 支付宝列表
	 * 
	 * @param context
	 * @return
	 */
	public static ArrayList<HashMap<String, Object>> alipayAuthList(
			Context context) {
		return AuthData.alipayAuthList(context);
	}

	/**
	 * 验证支付宝认证金额
	 * 
	 * @param strCash
	 *            金额
	 * @param strID
	 * @param context
	 */
	public static String[] verifyAlipayAuthCash(String strCash, String strID,
			Context context) {
		return AuthData.verifyAlipayAuthCash(strCash, strID, context);
	}
}
